﻿#pragma once

#if defined _WIN32 || defined __CYGWIN__
#	ifdef HDMAP_SDK_EXPORTS
#		ifdef __GNUC__
#			define HDMAP_API_PUBLIC __attribute__((dllexport))
#		else
#			define HDMAP_API_PUBLIC __declspec(dllexport)
#		endif
#	else
#		ifdef __GNUC__
#			define HDMAP_API_PUBLIC __attribute((dllimport))
#		else
#			define HDMAP_API_PUBLIC __declspec(dllimport)
#		endif
#	endif
#	define HDMAP_API_HIDDEN
#else
#	if __GNUC>=4
#		define HDMAP_API_PUBLIC __attribute__ ((visibility("default")))
#		define HDMAP_API_HIDDEN __attribute__((visibility("hidden")))
#	else
#		define HDMAP_API_PUBLIC
#		define HDMAP_API_HIDDEN
#	endif
#endif

//#define HDMAP_API_PUBLIC